home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
program
/
gemxx19.zoo
/
gem++19
/
include
/
gemuo.h
< prev
next >
Wrap
C/C++ Source or Header
|
1993-10-29
|
1KB
|
43 lines
/////////////////////////////////////////////////////////////////////////////
//
// GEMuserobject
//
// A GEMuserobject is an object with a user-defined graphical representation.
//
// This file is Copyright 1992,1993 by Warwick W. Allison.
// This file is part of the gem++ library.
// You are free to copy and modify these sources, provided you acknowledge
// the origin by retaining this notice, and adhere to the conditions
// described in the file COPYING.LIB.
//
/////////////////////////////////////////////////////////////////////////////
#ifndef GEMuo_h
#define GEMuo_h
#include <gemo.h>
class GEMuserobject : public GEMobject
{
public:
GEMuserobject(GEMform&, int RSCindex);
virtual ~GEMuserobject();
protected:
virtual int Change(const PARMBLK*);
virtual void Draw(const PARMBLK*)=0;
virtual int Type() const;
virtual int ObjectSpecific() const;
virtual void Type(int);
virtual void ObjectSpecific(int);
private:
USERBLK ub;
int originaltype;
int originalspec;
static int Handler(void*);
};
#endif